package com.zdsoft.finance.product.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.Lob;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.zdsoft.framework.core.common.domain.BaseEntity;


/**
 * 资料清单收集
 * @author longwei
 * @date 2016/11/08
 * @version 1.0
 */
@Entity
@Table(name="zf_product_material_list")
public class ProductMaterialList extends BaseEntity{

	/**
	 * 资料名称
	 */
	@Column(length=255)
	private String name;
	
	/**
	 * 资料类型
	 */
	@Column(length=32)
	private String typeCd;
	
	/**
	 * 资料类型名称
	 */
	@Column(length=255)
	private String typeNm;
	
	/**
	 * 客户类型
	 */
	@Column(length=32)
	private String clientTypeCd;
	
	/**
	 * 客户类型
	 */
	@Column(length=255)
	private String clientTypeNm;
	
	/**
	 * 原件/复印件
	 */
	@Column(length=32)
	private String idTypeCd;
	
	/**
	 * 是否必传
	 */
	@Column(columnDefinition="boolean")
	private Boolean isMust;
	
	/**
	 * 备注
	 */
	@Lob
	private String remark;
	
	/**
	 * 所属产品
	 */
	@ManyToOne
	@JoinColumn(name="product_id")
	private Product product;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTypeCd() {
		return typeCd;
	}

	public void setTypeCd(String typeCd) {
		this.typeCd = typeCd;
	}

	public String getClientTypeCd() {
		return clientTypeCd;
	}

	public void setClientTypeCd(String clientTypeCd) {
		this.clientTypeCd = clientTypeCd;
	}

	public String getIdTypeCd() {
		return idTypeCd;
	}

	public void setIdTypeCd(String idTypeCd) {
		this.idTypeCd = idTypeCd;
	}

	public Boolean getIsMust() {
		return isMust;
	}

	public void setIsMust(Boolean isMust) {
		this.isMust = isMust;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Product getProduct() {
		return product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public String getTypeNm() {
		return typeNm;
	}

	public void setTypeNm(String typeNm) {
		this.typeNm = typeNm;
	}

	public String getClientTypeNm() {
		return clientTypeNm;
	}

	public void setClientTypeNm(String clientTypeNm) {
		this.clientTypeNm = clientTypeNm;
	}
}
